package com.g2.admin.model.po;

import java.util.Date;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.g2.admin.common.constant.StatusTypeEnums;
import io.swagger.annotations.ApiModelProperty;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 系统信息表
 **/
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "auth_system")
public class AuthSystemPo implements Serializable {
	private static final long serialVersionUID = -729187905945603500L;

	@ApiModelProperty(value = "系统编码")
	@TableId(value = "code", type = IdType.ASSIGN_ID)
	private String code;
	@ApiModelProperty(value = "创建时间")
	private Date createTime;
	@ApiModelProperty(value = "创建者ID")
	private Long creator;
	@ApiModelProperty(value = "系统名称")
	private String name;
	@ApiModelProperty(value = "备注说明")
	private String remark;
	@ApiModelProperty(value = "状态：1、正常；2、停用；9、删除")
	private StatusTypeEnums.StatusEnums status;
	@ApiModelProperty(value = "最后一次更新时间")
	private Date updateTime;
	@ApiModelProperty(value = "更新人")
	private Long updater;
}